You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'tel:24687' class='c-bl pc-link'>.24687.jpg'' at line 1
SELECT id FROM `SC_errorPageLog` WHERE ip = '18.221.192.248' AND page = '/published/publicdata/SAJTZONASPORTA/attachments/SC/images/bosavibromassazh<a href='tel:24687' class='c-bl pc-link'>.24687.</a>jpg'